package com.wxh.api;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName: BaseController
 * @Description:
 * @Author wxh
 * @Date: 2019/8/14 16:28
 * @Version V1.0.0
 * @Since 1.8
 */
@Controller
public class BaseController {

    /**
     *  进入swagger界面
     * @return String
     */
    @RequestMapping("/api")
    public String swagger2(){
        return "redirect:swagger-ui.html";
    }
}
